package com.study.flink.java.day07_join_count.entity;

public class ActBean {

    public String uid;
    //活动ID
    public String aid;
    public String date;
    //事件类型
    public int eventType;
    public String province;
    public int count = 1;

    public ActBean(){}

    public ActBean(String uid, String aid, String date, int eventType, String province, int count) {
        this.uid = uid;
        this.aid = aid;
        this.date = date;
        this.eventType = eventType;
        this.province = province;
        this.count = count;
    }


    public static ActBean of(String uid, String aid, String date, int eventType, String province, int count){
        return new ActBean(uid, aid, date, eventType, province, count);
    }


    @Override
    public String toString() {
        return "ActBean{" +
                "uid='" + uid + '\'' +
                ", aid='" + aid + '\'' +
                ", date='" + date + '\'' +
                ", eventType=" + eventType +
                ", province='" + province + '\'' +
                ", count=" + count +
                '}';
    }
}
